package com.baizhi.entity;

import lombok.Data;
import org.hibernate.validator.constraints.URL;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2019/4/7.
 * 专辑对象
 * 包含章节的集合
 */
@Data
public class Album {
    private Integer albumId;
    private  String albumName;//专辑名
    private  String albumAuthor;//作者
    private  String albumTeller;//播音员
    private  Integer albumEpisode;//集数
    private Date albumDate;//上架日期
    private String albumContent;//简介
    private String albumImage;//封面图片
    private Integer albumStar;//评分星级
    private Integer albumState;//是否展示，0展示，1不展示
    private List<Audio> audios;//章节集合

}

/*
* <div id="updateAlbumDialog" >
    <form id="updateform" enctype="multipart/form-data" method="post">
        <input id="albumId" type="text" name="albumId" style="display: none">
        <input id="albumImage" type="text" name="albumImage" style="display: none">
        图片：<input type="file" value="" name="updateAlbumImage" onchange="selectImage2(this);">
        <div class="lf salebd">
            <a href="#"><img id="addAlbumDialogImage2" src="" width="100" height="100" /></a>
        </div><br/>
        专辑名称：<input id="albumName"  name="albumName"><br/>
        作者：<input id="albumAuthor"   name="albumAuthor"><br/>
        播音员：<input id="albumTeller"  name="albumTeller"><br/>
        专辑简介：<input id="albumContent"   name="albumContent"><br/>
        专辑评价：1星<input type="radio" id="albumStar1"  name="albumStar" value="1"><br/>
        2星<input type="radio" id="albumStar2"  name="albumStar" value="2"><br/>
        3星<input type="radio" id="albumStar3"  name="albumStar" value="3"><br/>
        4星<input type="radio" id="albumStar4"  name="albumStar" value="4"><br/>
        5星<input type="radio" id="albumStar5"  name="albumStar" value="5"><br/>
        是否显示：<br/>显示<input id="radio1" type="radio" value="0" name="albumState"><br/>
        不显示<input id="radio2" type="radi2" value="1" name="albumState"><br/>

    </form>
</div>
*
* */